package com.lml.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author luomingliang
 * @date 2020/5/8 22:23
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "----- PaymentFallbackService fallback paymentInfo_OK, ┭┮﹏┭┮";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "----- PaymentFallbackService fallback paymentInfo_TimeOut, ┭┮﹏┭┮";
    }
}
